home *** CD-ROM | disk | FTP | other *** search
/ HAKERIS 11 / HAKERIS 11.ISO / linux / system / LinuxConsole 0.4 / linuxconsole0.4install-en.iso / linuxconsole0.4.lcm / etc / my-small.cnf < prev    next >
Encoding:
Text File  |  2004-03-26  |  2.2 KB  |  79 lines

  1. # Example mysql config file for small systems.
  2. #
  3. # This is for a system with little memory (<= 64M) where MySQL is only used
  4. # from time to time and it's important that the mysqld deamon
  5. # doesn't use much resources.
  6. #
  7. # You can copy this file to
  8. # /etc/my.cnf to set global options,
  9. # mysql-data-dir/my.cnf to set server-specific options (in this
  10. # installation this directory is /usr/local/intranet/var) or
  11. # ~/.my.cnf to set user-specific options.
  12. #
  13. # One can in this file use all long options that the program supports.
  14. # If you want to know which options a program support, run the program
  15. # with --help option.
  16.  
  17. # The following options will be passed to all MySQL clients
  18. [client]
  19. #password    = your_password
  20. port        = 3306
  21. socket        = /tmp/mysql.sock
  22.  
  23. # Here follows entries for some specific programs
  24.  
  25. # The MySQL server
  26. [mysqld]
  27. port        = 3306
  28. socket        = /tmp/mysql.sock
  29. log        = /tmp/mysql.log
  30. skip-locking
  31. set-variable    = key_buffer=16K
  32. set-variable    = max_allowed_packet=1M
  33. set-variable    = thread_stack=64K
  34. set-variable    = table_cache=4
  35. set-variable    = sort_buffer=64K
  36. set-variable    = net_buffer_length=2K
  37. server-id    = 1
  38.  
  39. # Uncomment the following if you want to log updates
  40. #log-bin
  41.  
  42. # Uncomment the following if you are NOT using BDB tables
  43. #skip-bdb
  44.  
  45. # Uncomment the following if you are using InnoDB tables
  46. #innodb_data_home_dir = /usr/local/intranet/var/
  47. #innodb_data_file_path = ibdata1:10M:autoextend
  48. #innodb_log_group_home_dir = /usr/local/intranet/var/
  49. #innodb_log_arch_dir = /usr/local/intranet/var/
  50. # You can set .._buffer_pool_size up to 50 - 80 %
  51. # of RAM but beware of setting memory usage too high
  52. #set-variable = innodb_buffer_pool_size=16M
  53. #set-variable = innodb_additional_mem_pool_size=2M
  54. # Set .._log_file_size to 25 % of buffer pool size
  55. #set-variable = innodb_log_file_size=5M
  56. #set-variable = innodb_log_buffer_size=8M
  57. #innodb_flush_log_at_trx_commit=1
  58. #set-variable = innodb_lock_wait_timeout=50
  59.  
  60. [mysqldump]
  61. quick
  62. set-variable    = max_allowed_packet=16M
  63.  
  64. [mysql]
  65. no-auto-rehash
  66. # Remove the next comment character if you are not familiar with SQL
  67. #safe-updates
  68.  
  69. [isamchk]
  70. set-variable    = key_buffer=8M
  71. set-variable    = sort_buffer=8M
  72.  
  73. [myisamchk]
  74. set-variable    = key_buffer=8M
  75. set-variable    = sort_buffer=8M
  76.  
  77. [mysqlhotcopy]
  78. interactive-timeout
  79.